libxc: correct dirty_bitmap bounce size in xc_hvm_track_dirty_vram
authorIan Campbell <ian.campbell@citrix.com>
Wed, 10 Nov 2010 14:56:06 +0000 (14:56 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 10 Nov 2010 14:56:06 +0000 (14:56 +0000)
commitd549bdb2a0bbd012263d0795f435fdd0bdae0da6
tree4adbcb6b3fa23452170157f181b98085ba1687c9
parentadee1dd91882b8a13345479c7fe216bac6908451
libxc: correct dirty_bitmap bounce size in xc_hvm_track_dirty_vram

The size should be in bytes not 32-bit words. Fixes graphics
corruption issues for HVM guests due to bouncing too little data.

Also the dirty_bitmap buffer is output only and therefore only needs
bouncing in one direction.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_misc.c